package com.qishanor.system.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.qishanor.system.model.SysUser;
import com.qishanor.system.model.dto.SysUserDto;

/**
 * @description: 用户表 服务类
 * @author: 周振林
 * @date: 2022-04-08
 * @Copyright: 博客：http://www.zhouzhenlin.com - 沉淀、分享、成长、让自己和他人都有所收获
 **/
public interface SysUserService extends IService<SysUser> {

    SysUser login(String username,String password);

    Page pageBy(Page page, SysUserDto sysUserDto);

    Boolean saveUser(SysUserDto sysUserDto);

    Boolean updateUser(SysUserDto sysUserDto);
}
